package com.bootdo.program.wallpaper.dao;


import java.util.List;
import java.util.Map;

import com.bootdo.program.wallpaper.domain.BzTalentDO;
import com.bootdo.program.wallpaper.domain.DistributionProfitDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 分销收益表
 * @author guoyunfei
 * @email 2549789059@qq.com
 * @date 2021-12-10 21:35:19
 */
@Mapper
public interface DistributionProfitDao {

	DistributionProfitDO get(Long id);

	List<DistributionProfitDO> list(Map<String,Object> map);

	int count(Map<String,Object> map);

	int save(DistributionProfitDO distributionProfit);

	int update(DistributionProfitDO distributionProfit);

	int remove(Long id);

	int batchRemove(Long[] ids);

	List<DistributionProfitDO> selectProfit(@Param("createTime") String createTime);

	int updateByTime(DistributionProfitDO distributionProfitDO);

	int updateStatus(Map<String,Object> map);

	DistributionProfitDO selectMoney(Map<String,Object> map);

}
